﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TerminationCall.Editor.Logic {
    public class ObjectPainterFactory : IPainterFactory {

        public EditorTool EditorTool {
            get;
            set;
        }

        public string Name {
            get {
                return "ObjectPainter";
            }
        }

        public bool DrawBackground {
            get;
            set;
        }

        public IPainter CreatePainter(System.Drawing.Point point) {

            ObjectPainter objectPainter = new ObjectPainter();

            objectPainter.DrawBackground = DrawBackground;

            return objectPainter;
        }

    }
}
